var conquest = conquest || {};
conquest.filter = conquest.filter || {};

(function(f) {

	f.filterCards = function(cards, filterObject) {
		var properties = Object.keys(filterObject);
		$.each(properties, function(property) {
			var filter = filter[property];
			var oper = undefined;
			var value = undefined;
			if (_.isUndefined(filter)) {
				continue;
			}			
			if (_.isObject(filter)) {
				
			} else if (_.isArray(filter)) {
				value = filter;
				oper = 'in';
			} else {
				value = filter;
				oper = 'eq';
			}
			var oper = filter.operator;
			if (_.isUndefined(oper)) {
				
				oper = 'eq';
			}
		});
		if (filter.cardId) {

		} else if (filter.techName)
		if (filter.cardName)
	};	
		

})(conquest.filter);